package com.hbx.mapper;

import com.hbx.model.Announcement;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 系统公告表 Mapper 接口
 * </p>
 *
 * @author hbx
 * @since 2022-01-27
 */
@Mapper
public interface AnnouncementMapper extends BaseMapper<Announcement> {

    /**
     * 修改其他的公告，排除id
     * @param id
     * @return
     */
    int updateOtherCommend(@Param("id") Integer id, @Param("commend") Integer commend);
}
